package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 退货管理对象 sale_return
 * 
 * @author ruoyi
 * @date 2024-05-08
 */
public class SaleReturn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品编号 */
    private Long stuffId;

    /** 商品名 */
    @Excel(name = "商品名")
    private String stuffName;

    /** 价钱 */
    @Excel(name = "价钱")
    private Integer stuffPrice;

    /** 退货原因 */
    @Excel(name = "退货原因")
    private String cause;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String time;

    public void setStuffId(Long stuffId) 
    {
        this.stuffId = stuffId;
    }

    public Long getStuffId() 
    {
        return stuffId;
    }
    public void setStuffName(String stuffName) 
    {
        this.stuffName = stuffName;
    }

    public String getStuffName() 
    {
        return stuffName;
    }
    public void setStuffPrice(Integer stuffPrice) 
    {
        this.stuffPrice = stuffPrice;
    }

    public Integer getStuffPrice() 
    {
        return stuffPrice;
    }
    public void setCause(String cause) 
    {
        this.cause = cause;
    }

    public String getCause() 
    {
        return cause;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stuffId", getStuffId())
            .append("stuffName", getStuffName())
            .append("stuffPrice", getStuffPrice())
            .append("cause", getCause())
            .append("time", getTime())
            .toString();
    }
}
